import { useColorScheme } from 'react-native';

interface ThemeColors {
  background: string;
  text: string;
  primary: string;
  secondary: string;
  border: string;
}

const lightTheme: ThemeColors = {
  background: '#FFFFFF',
  text: '#000000',
  primary: '#007AFF',
  secondary: '#5856D6',
  border: '#C7C7CC',
};

const darkTheme: ThemeColors = {
  background: '#000000',
  text: '#FFFFFF',
  primary: '#0A84FF',
  secondary: '#5E5CE6',
  border: '#38383A',
};

export function useTheme() {
  const colorScheme = useColorScheme();
  const theme = {
    colors: colorScheme === 'dark' ? darkTheme : lightTheme,
  };
  
  return { theme };
} 